﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cadastro_modal.aspx.cs" Inherits="softsales.pagina.cadastro.cadastro_modal" %>

<%@ OutputCache Duration="60" VaryByParam="none" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
            <%--ESTILOS--%>


    <link href="~/css/softsales.min.css" rel="stylesheet" type="text/css" />
    <link href="~/css/ui/ui.base.min.css" rel="stylesheet" type="text/css" />        
    <link href="~/css/themes/gray_lightness/ui.min.css" rel="stylesheet" type="text/css" />



    
</head>
<body>
    <form id="form1" runat="server">


	

   <div class="content-box">
<div class="softsales-form-linha">
<div class="float-left">

<div class="title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="Lista de Cadastros"></asp:Label></h2>
					
				</div>	
</div>

<div class="float-right">

<div class="filtro">
    <asp:DropDownList ID="DDL_FILTRO" runat="server">
    </asp:DropDownList>
    <asp:TextBox ID="TXT_PESQUISAR" CssClass="campo-text"  runat="server"></asp:TextBox>
        <asp:ImageButton ID="IMG_BTN_PESQUISAR" runat="server" 
        ImageUrl="~/images/icons/search.gif" onclick="IMG_BTN_PESQUISAR_Click" 
/>

</div>
</div>
<div class="clear"></div>
</div>

</div>
<div class="content-box">
<div class="softsales-tabela">
 <asp:GridView ID="GRV_TB_CADASTRO" runat="server" 
        onsorting="GRV_TB_CADASTRO_Sorting" AllowSorting="True" 
        onpageindexchanging="GRV_TB_CADASTRO_PageIndexChanging" 
        AutoGenerateColumns="False" DataKeyNames="id" EnableModelValidation="True">	  
	<HeaderStyle CssClass="headerGridView" />
	<RowStyle CssClass="itemGridView" />
   	<PagerStyle CssClass="pagerGridView"  />
	<FooterStyle CssClass="footerGridView" />
        <Columns>          
			
				<asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="CHK_ID" runat="server" AutoPostBack="True" 
                            oncheckedchanged="CHK_ID_CheckedChanged" />
                    </ItemTemplate>
                </asp:TemplateField>
			
				<asp:BoundField DataField="id" HeaderText="ID" 
                SortExpression="id"  />											
				<asp:BoundField DataField="nome" HeaderText="NOME" 
                SortExpression="nome"  />											
				<asp:BoundField DataField="pessoa" HeaderText="PESSOA" 
                SortExpression="pessoa"  />											
				<asp:BoundField DataField="cnpj_cpf" HeaderText="CNPJ_CPF" 
                SortExpression="cnpj_cpf"  />											
<%--				<asp:BoundField DataField="id_status" HeaderText="ID_STATUS" 
                SortExpression="id_status"  />											
--%>				<asp:BoundField DataField="sit_ativo" HeaderText="SIT_ATIVO" 
                SortExpression="sit_ativo"  />											
            
          
        </Columns>
    </asp:GridView>
	
	    </div>

     <div id="navegacao" runat="server" class="softsales-form-navegacao">
    <div class="float-left">
        <asp:Label ID="Label3" runat="server" Text="P?gina: "></asp:Label>
        <asp:Label ID="LBL_PAGINA_ATUAL" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=" de  "></asp:Label>
        <asp:Label ID="LBL_PAGINA_TOTAL" runat="server" Text="LBL_PAGINA_TOTAL"></asp:Label>
    </div>
    <div class="float-right">
        <table>
        <tr>
        <td>
        <asp:ImageButton ID="IMG_BTN_PRIMEIRO" runat="server" 
            ImageUrl="~/images/icons/first.gif" onclick="IMG_BTN_PRIMEIRO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ANTERIOR" runat="server" 
            ImageUrl="~/images/icons/previous.gif" onclick="IMG_BTN_ANTERIOR_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_PROXIMO" runat="server" 
            ImageUrl="~/images/icons/forward.gif" onclick="IMG_BTN_PROXIMO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ULTIMO" runat="server" 
            ImageUrl="~/images/icons/last.gif" onclick="IMG_BTN_ULTIMO_Click" />
            </td>
            </tr>
            </table>
    </div>
    <div class="clear"></div>
    </div>
    </div>
    </form>
</body>
</html>
